﻿using Magicodes.ExporterAndImporter.Core;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Reports.YHSQ.Dtos
{
    public class YHSQDto
    {
        [ExporterHeader("BPM单号")]
        public string InstanceNumber { get; set; }

        [ExporterHeader("单据类型")]
        public string InstanceType { get; set; }

        [ExporterHeader("标题")]
        public string ProcessTopic { get; set; }
        [ExporterHeader("要货单号")]
        public string Code { get; set; }

        [ExporterHeader("审批状态")]
        public string ProcessStatusName { get; set; }

        [ExporterHeader("申请人")]
        public string StartUserName { get; set; }

        [ExporterHeader("申请时间")]
        public string StartTimeStr { get; set; }
        [ExporterHeader(IsIgnore = true)]
        public DateTime? StartTime { get; set; }
        [ExporterHeader("申请时间(修正后)")]
        public string STimeStr { get; set; }
        [ExporterHeader(IsIgnore = true)]
        public DateTime? STime { get; set; }

        [ExporterHeader("操作人职位")]
        public string ActivityName { get; set; }

        [ExporterHeader("操作人")]
        public string ResolveUserName { get; set; }

        [ExporterHeader("操作类型")]
        public string Summary { get; set; }

        [ExporterHeader("操作时间")]
        public string OperateTimeStr { get; set; }
        [ExporterHeader(IsIgnore = true)]
        public DateTime? OperateTime { get; set; }
        [ExporterHeader("操作时间(修正后)")]
        public string OTimeStr { get; set; }
        [ExporterHeader(IsIgnore = true)]
        public DateTime? OTime { get; set; }
        [ExporterHeader("间隔时长(分钟)")]
        public double? DueTime { get; set; }
        [ExporterHeader("间隔时长(小时)")]
        public double? DueTimeHour { get; set; }

        [ExporterHeader(IsIgnore = true)]
        public string ProcessStatusCode { get; set; }

        [ExporterHeader(IsIgnore = true)]
        public string Url { get; set; }
    }
}
